package cn.yunhe.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.yunhe.entity.Emp;

public interface EmpService {
	// 权威
	List<Emp> findEmpAll();
	Emp findEmpById(int eid);
	int updateEmpByEmpId(@Param("eid")int eid,@Param("epwd")String epwd);
	//
	Emp login(String ename, String pwd);
	List<Emp> chaAll();
	List<Emp> deidChaEmp1(int deid);
	 List<Emp> findEmpAllByLikeName(@Param("ename")String ename);
}
